package com.xx.bili.controller;

import com.xx.account.domain.AccountSendLeaflet;
import com.xx.account.service.IAccountSendLeafletService;
import com.xx.bili.domain.BiLiLikeRecord;
import com.xx.bili.mapper.BiLiLikeRecordMapper;
import com.xx.bili.service.IBiLiLIkeRecordService;
import com.xx.common.annotation.Log;
import com.xx.common.core.controller.BaseController;
import com.xx.common.core.domain.AjaxResult;
import com.xx.common.core.page.TableDataInfo;
import com.xx.common.enums.BusinessType;
import com.xx.common.utils.poi.ExcelUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 分配订单Controller
 *
 * @author ruoyi
 * @date 2024-09-29
 */
@RestController
@RequestMapping("/bili/likeRecord")
public class BiLiLikeRecordController extends BaseController
{
    @Autowired
    private IBiLiLIkeRecordService biLiLIkeRecordService;

    /**
     * 查询分配订单列表
     */
    @GetMapping("/list")
    public TableDataInfo list(BiLiLikeRecord biLiLikeRecord)
    {
        startPage();
        List<BiLiLikeRecord> list = biLiLIkeRecordService.selectBiLiLikeRecordList(biLiLikeRecord);
        return getDataTable(list);
    }
}
